import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useMenuStore = defineStore('menu', () => {
    const selectedMenuItem = ref('')

    const setSelectedMenuItem = (menuItem) => {
        selectedMenuItem.value = menuItem
    }

    return {
        selectedMenuItem,
        setSelectedMenuItem
    }
})